@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="t_data_log";
		@ var _key="log_id";
		@ var _col=[
@			  {name:"记录编号", index:"log_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"设备编号", index:"dev_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"数据地址", index:"data_addr", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"记录数值", index:"data_val", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"记录日期", index:"log_date", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"记录时间", index:"log_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"参数ID", index:"param_id", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}